Skip to content

Release v3.1.1: PublicApi votePoll and getPollVoters - #19

Merged
winrid merged 1 commit into
mainfrom
release-3.1.1
Oct 28, 2026
Merged

winrid merged 1 commit into
mainfrom
release-3.1.1

Conversation

@winrid

@winrid winrid commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

FastComments Java SDK v3.1.1

New endpoints

PublicApi:

  • votePoll(tenantId, commentId, votePollBody) (PUT /polls/{tenantId}/{commentId}/vote): casts the viewer's vote for VotePollBody.optionId. Optional urlId, broadcastId, sso. Returns VotePollResponse with the updated poll, myPollVotes and voterId.
  • getPollVoters(tenantId, commentId) (GET /polls/{tenantId}/{commentId}/voters): lists who voted for which option. Optional urlId, page, search, sso. Returns GetPollVoterNamesSuccessResponse with voters (PollVoterEntry: name, optionLabel), page, pageSize, total, hasMore.

New model fields

  • PublicCommentBase and PublicComment: poll (CommentPoll)

No breaking changes.

Install

<dependency>
  <groupId>com.fastcomments</groupId>
  <artifactId>client</artifactId>
  <version>3.1.1</version>
</dependency>

Full changelog: v3.1.0...v3.1.1

@winrid
winrid merged commit 0f912ce into main Oct 28, 2026
1 check passed
@winrid
winrid deleted the release-3.1.1 branch October 28, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant